#ifndef _LISTENER_H_
#define _LISTENER_H_
#include <list>


struct IEvent;
struct IListener
{
	typedef int KEY;
	KEY Id;
	bool operator == (const IListener& right)
	{
		return this->Id == right.Id;
	}
	bool Clear()
	{
		for(std::list<IEvent>::iterator it = _events.begin(); it != _events.end(); ++it)
		{
			//it->
		}

	}
	virtual bool process(const IEvent& )

	{
		return true;
	}
	std::list<IEvent> _events;
};








#endif